package com.xcity.pomelo.request;

import com.xcity.pomelo.PomeloRoute;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.PomeloPacket;

/**
 * 角色创建请求
 * @author yang.li
 *
 */
@PomeloMessage(route = PomeloRoute.PLAYER_CREATE)
public class PlayerCreateRequest extends PomeloPacket implements IPlayerCreateRequest {

	protected String name; // 角色名
	protected byte sex; // 性别
	protected String icon; // 头像

	@Override
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public byte getSex() {
		return sex;
	}

	public void setSex(byte sex) {
		this.sex = sex;
	}

	@Override
	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	@Override
	public String getInviter() {
		return null;
	}

	@Override
	public String getCity() {
		return null;
	}

}
